projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3245764
)
* etags.c (readline): expect sscanf returns >= 1.
author
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 9 Aug 2006 06:22:27 +0000
(06:22 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 9 Aug 2006 06:22:27 +0000
(06:22 +0000)
lib-src/ChangeLog
patch
|
blob
|
history
lib-src/etags.c
patch
|
blob
|
history
diff --git
a/lib-src/ChangeLog
b/lib-src/ChangeLog
index ae6ddedf5f7960780c9c60eabaea2dde1e41891f..3e7d9efad318f90dca027ba618d6bfeaf8899a14 100644
(file)
--- a/
lib-src/ChangeLog
+++ b/
lib-src/ChangeLog
@@
-1,3
+1,7
@@
+2006-08-09 Jan Dj
\e
,Ad
\e
(Brv <jan.h.d@swipnet.se>
+
+ * etags.c (readline): expect sscanf returns >= 1.
+
2006-08-07 Masatake YAMATO <jet@gyve.org>
* etags.c (readline): expect sscanf returns 2,
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index 50f7162ded0f3cb69a9e6f57bf04e499ed644cf5..c7d18d348494dc5d1ba7bc885c1e9fa56127fa52 100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-6259,7
+6259,7
@@
readline (lbp, stream)
int start, lno;
if (DEBUG) start = 0; /* shut up the compiler */
- if (sscanf (lbp->buffer, "#line %d \"%n", &lno, &start)
== 2
)
+ if (sscanf (lbp->buffer, "#line %d \"%n", &lno, &start)
>= 1
)
{
char *endp = lbp->buffer + start;